


document.querySelectorAll('.settings-item').forEach(item => {
    item.addEventListener('click', () => {
        alert(`You clicked on: ${item.innerText}`);
    });
});


document.querySelector('.logout-btn').addEventListener('click', () => {
    if (confirm('确定要退出登录吗？')) {
        alert('已退出登录');

    }
});
